package univ.paris.ouest.domaine.trajet;

import univ.paris.ouest.domaine.user.User;

public class Trajet {
	private Long id;
	private String dateDepart;
	private String heurDepart;
	private String villeDepart;
	private String villeArriver;
	private User user;
	private Voiture voiture;
	
	
	public Trajet(String dateDepart, String heurDepart, String villeDepart,
			String villeArriver, User user, Voiture voiture) {
		super();
		this.dateDepart = dateDepart;
		this.heurDepart = heurDepart;
		this.villeDepart = villeDepart;
		this.villeArriver = villeArriver;
		this.user = user;
		this.voiture = voiture;
	}
	public String getDateDepart() {
		return dateDepart;
	}
	public void setDateDepart(String dateDepart) {
		this.dateDepart = dateDepart;
	}
	public String getHeurDepart() {
		return heurDepart;
	}
	public void setHeurDepart(String heurDepart) {
		this.heurDepart = heurDepart;
	}
	public String getVilleDepart() {
		return villeDepart;
	}
	public void setVilleDepart(String villeDepart) {
		this.villeDepart = villeDepart;
	}
	public String getVilleArriver() {
		return villeArriver;
	}
	public void setVilleArriver(String villeArriver) {
		this.villeArriver = villeArriver;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Voiture getVoiture() {
		return voiture;
	}
	public void setVoiture(Voiture voiture) {
		this.voiture = voiture;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	

}
